-
Couldn't load subscription status.
- Fork 1
feat: adds test to check session cookie setting and timezone #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.1
Are you sure you want to change the base?
Conversation
| const { response, headers } = await signUp("public", "[email protected]", "password123"); | ||
| const epUser = response.user; | ||
|
|
||
| // Create a new session for the user, get headers from the response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not used.
- `getTimezoneOffset` works on local time, not ideal for a test
| assert(refreshTokenCookie, "Refresh token cookie not found"); | ||
| assert(refreshTokenCookie.expires, "Refresh token cookie expiry not set"); | ||
|
|
||
| assert(session.getUserId() === session.getRecipeUserId().getAsString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this check is relevant. What was this meant for?
Uh oh!
There was an error while loading. Please reload this page.